﻿using System;
using CTS.Com.Domain.Validate.Model;

namespace CTS.Com.Domain.Validate.Attr
{
    public abstract class AbstractValidation : Attribute
    {
        public string MessageParam { get; set; }
        public bool Required { get; set; }
        public abstract void IsValid(object item, Rule rule);
    }
}
